package com.neusoft.neuiotms.dcam.workflow.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.auth.common.bean.UserBean;
import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcam.workflow.dto.PeifaSLDTO;

public interface PeifaSLService {

    PeifaSLDTO create(PeifaSLDTO dto, UserBean user);

    PeifaSLDTO detail(String workOrderNum, String taskId, UserBean user);

    void confirmCreate(PeifaSLDTO dto, UserBean user);

    PeifaSLDTO confirmDetails(String workOrderNum, String taskId, UserBean user);

    List<PeifaSLDTO> search(Searchable searchable);

    Page<PeifaSLDTO> search(Pageable pageable, Searchable searchable);

    PeifaSLDTO detail(Long id);

}
